<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
                    "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
  <script src="js/jquery-1.3.2.min.js"></script>
  <link rel="stylesheet" href="css/jquery.autocomplete.css" type="text/css" />
  <script type="text/javascript" src="js/jquery.autocomplete.js"></script>
  <script>
  $(document).ready(function(){
    var data = "Core Selectors Attributes Traversing Manipulation CSS Events Effects Ajax Utilities".split(" ");
    $("#example").autocomplete('/search', {
    });
    $("#example").result(function (event, data, formatted) {
        alert("result " + data + " " + formatted);
        $('#res').html(data);
    });
  });
  </script>
  
</head>
<body>
  API Reference: <input id="example" /> (try "C" or "E")
<div>
<p id="res">junk</p>
<div>
</body>
</html>
